package com.yashi.dao;

import org.apache.ibatis.annotations.Param;

import com.yashi.entity.UserGroup;

public interface UserGroupMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserGroup record);

    int insertSelective(UserGroup record);

    UserGroup selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserGroup record);

    int updateByPrimaryKey(UserGroup record);
    /**
     * 根据用户id和群id删除群成员
     * @param userId
     * @param GroupID
     * @return
     */
    int  deleteByUserIdAndGroupId(@Param("userId")String userId,@Param("GroupId")String GroupId);
}